package com.faintlight.repository;

import com.faintlight.model.Gratitude;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GratitudeRepository extends JpaRepository<Gratitude, Long> {
    List<Gratitude> findByUser_Id(Long userId);
}